<div>
    <%= self.error_messages_for :novel %>
    <h4>发起文章主题</h4>
    <table border="0" cellspacing="0" cellpadding="4" class="novel_form">
        <% form_for :novel, @novel,:url=>novels_path do |f| %>
            <tr>
                <td>标题</td>
                <td><%= f.text_field :title %></td>
            </tr>
            <tr>
                <td>简介</td>
                <td><%= f.text_area :summary, :cols=>70, :rows=>10 %></td>
            </tr>
            <tr>
                <td>Tags</td>
                <td><%= f.text_field :tag_list,:size => 100%></td>
            </tr>
            <tr>
                <td>规则</td>
                <td>
                    <%= f.radio_button :linkrule, 1 -%><%= Novel::LINK_RULE_1_DESC %> </br>
                    <%= f.radio_button :linkrule, 2 -%><%= Novel::LINK_RULE_2_DESC %> </br>
                    <%= f.radio_button :linkrule, 3 -%><%= Novel::LINK_RULE_3_DESC %>
                </td>
            </tr>
            <tr>
                <td colspan="2" align="right"><%= submit_tag "提交" %></td>
            </tr>
        <% end %>
    </table>
</div>



